package com.zyong.design.pattern.template.case1;

/**
 * @program: zyong-design-pattern
 * @ClassName: ConcreteTemplate1
 * @author: zyong
 * @create: 2024-04-18 00:16
 */
public class ConcreteTemplate1 extends AbstractTemplateClass {
    @Override
    protected void operate1() {
        System.out.println("ConcreteTemplate1 operate1");
    }

    @Override
    protected void operate3() {
        System.out.println("这是钩子方法，ConcreteTemplate1选择重写");
    }
}
